package com.itheima.jiekou9;

public class Test {

    public static void main(String[] args) {
        Inter  inter= new InterImplB();
        inter.sing();


    }
}

interface Inter{
    void sing();
}
class InterImplA implements Inter{

    @Override
    public void sing() {
        System.out.println("只因你太美");
    }
}
class InterImplB implements Inter{

    @Override
    public void sing() {
        System.out.println("大碗宽面");
    }
}